﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="selectZhuHu.aspx.cs" Inherits="PropertyManagement.zhuhu.selectZhuHu" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        body
       {
           width:750px;
           margin:0 auto;
       }
       #div0
       {
           width:98%;
           height:350px;
           margin:20px auto;        
           background-color:#a9c8f3;
       }
       #h3_1
       {
           text-align:center;
           width:90%;
           margin:20px;
           font-size:20px;
           font-style:normal;
       }
       #GridView1
       {
            margin:0px auto;
       }
       #div1{
           padding-top:20px;
       }
        #div1,#div2,#div3
       {
            width:90%;
            margin:30px auto;
            text-align:center;
       }
        #Button3,#Button4,#Button5,#Button6
        {
            margin-left:10px;
            width:80px;
            height:24px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div id="div0">
            <div id="div1">
            <asp:TextBox ID="TextBox1" runat="server" placeholder="请输入住户名查询"></asp:TextBox>
        &nbsp;
            <asp:Button ID="Button1" runat="server" Height="23px" Text="查询" Width="59px" OnClick="Button1_Click" />
            &nbsp;   <asp:Button ID="Button2" runat="server" Height="24px" Text="返回主页" Width="83px" OnClick="Button2_Click"  />
           </div>
        <div id="div2">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                AllowPaging="True" Height="89px" PageSize="3" Width="681px"  CssClass="auto-style2">
                <Columns>
                   <asp:BoundField DataField="sname" HeaderText="住户名" />
                   <asp:BoundField DataField="lddy" HeaderText="楼栋单元" />
                   <asp:BoundField DataField="fanghao" HeaderText="房号" />
                   <asp:BoundField DataField="fangxing" HeaderText="房型" />
                   <asp:BoundField DataField="jzmj" HeaderText="建筑面积" />
                   <asp:BoundField DataField="qrdate" HeaderText="入住时间" />
                   <asp:BoundField DataField="tel" HeaderText="住户电话" />
                </Columns>
             </asp:GridView>
        </div>
            <div id="div3">
                <asp:Button ID="Button3" runat="server" Text="第一页" OnClick="Button3_Click" />
                <asp:Button ID="Button4" runat="server" Text="上一页" OnClick="Button4_Click" />
                <asp:Button ID="Button5" runat="server" Text="下一页" OnClick="Button5_Click"/>
                <asp:Button ID="Button6" runat="server" Text="最后一页" OnClick="Button6_Click" />
            </div>
        </div>
    </form>
</body>
</html>
